<script>
  document.write("My "+self.location.href);
  document.write("<br>parent "+self.parent.location.href);
  document.write("<br>grandfather "+self.parent.parent.location);
</script>
